﻿@model L2C.Publishing_Item
@{
    Layout = "~/Views/Shared/_Layout.cshtml";
}

@{
    ViewBag.Title = "Details";
}

<h2>Details</h2>

<fieldset>
    <legend>Publishing_Item</legend>

    <div class="display-label">Product</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Product.Product_Name)
    </div>

    <div class="display-label">Title</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Title)
    </div>

    <div class="display-label">MainContent</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.MainContent)
    </div>

    <div class="display-label">Descriptions</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Descriptions)
    </div>

    <div class="display-label">ViewerCounter</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.ViewerCounter)
    </div>

    <div class="display-label">SellPrice</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.SellPrice)
    </div>

    <div class="display-label">DiscountPercent</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.DiscountPercent)
    </div>

    <div class="display-label">Product_Price</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Product_Price)
    </div>

    <div class="display-label">StartDate</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.StartDate)
    </div>

    <div class="display-label">EndDate</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.EndDate)
    </div>

    <div class="display-label">BuyerCounter</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.BuyerCounter)
    </div>

    <div class="display-label">MaximumQuanlity</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.MaximumQuantity)
    </div>

    <div class="display-label">Category_Item</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Category_Item.Category_Name)
    </div>

    <div class="display-label">SmallPicture</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.SmallPicture)
    </div>

    <div class="display-label">ShortTitle</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.ShortTitle)
    </div>

    <div class="display-label">Highlight</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Highlight)
    </div>

    <div class="display-label">Image</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Image)
    </div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.Item_Id }) |
    @Html.ActionLink("Back to List", "Index")
</p>
